home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_2.lha / 8_2 / 8_2b.c < prev    next >
Text File  |  1993-08-08  |  353b  |  15 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / output the name and address as a series of lines
  6. stream& operator<<(ostream &out, name_and_address &x)
  7.  
  8.    if (x.name)
  9. for (char **n = x.name; *n; n++)
  10.     out << *n << "\n";
  11.  
  12.    out << "\n";
  13.    return out;
  14.  
  15.